home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Tools / File.Type.Notes / FTN.08.0000 < prev    next >
Encoding:
Text File  |  1989-04-03  |  2.4 KB  |  55 lines  |  [04] ASCII Text (0x0000)

  1. Apple II
  2. File Type Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. File Type:         $08
  8. Auxiliary Type:    $0000 to $3FFF
  9.  
  10. Full Name:     Apple II Graphics File
  11. Short Name:    Graphics File
  12.  
  13. Revised by:    Matt Deatherage                                       May 1989
  14. Written by:    Matt Deatherage                                  November 1988
  15.  
  16. Files of this type and auxiliary type contain standard Apple II graphics 
  17. files.
  18. Changes since November 1988:  The offset was incorrectly listed as +121
  19. instead of +120.  The hexadecimal value of $78 is correct.
  20. _____________________________________________________________________________
  21.  
  22. Files of type $08 and any auxiliary type less than or equal to $3FFF contain a 
  23. standard Apple II graphics file in one of several modes.  After determining 
  24. that the auxiliary type is not $4000 or $4001 (which have been defined for 
  25. high-resolution and double high-resolution pictures packed with the Apple IIGS 
  26. PackBytes routine), you can determine the mode of the file by examining byte 
  27. +120 (+$78).  The value of this byte, which ranges from zero to seven, is 
  28. interpreted as follows:
  29.  
  30.                Mode                         Page 1    Page 2
  31.                280 x 192 Black & White        0         4
  32.                280 x 192 Limited Color        1         5
  33.                560 x 192 Black & White        2         6
  34.                140 x 192 Full Color           3         7
  35.  
  36. Note that some modes only apply to high-resolution while some only apply to 
  37. double high-resolution.
  38.  
  39. The format of the file is as follows:
  40.  
  41. +000 to +8191      Bytes    High-resolution image or portion of 
  42.                             double high-resolution image stored 
  43.                             in auxiliary memory.
  44. +8192 to +16383    Bytes    Portion of double high-resolution 
  45.                             image stored in main memory (not 
  46.                             present for high-resolution).
  47.  
  48. File type $08 was originally defined as an Apple /// FotoFile, but now it is 
  49. useful for those applications that wish to save high-resolution or double 
  50. high-resolution data with a file type other than $06, which is a standard 
  51. binary file.  If you choose to use this type, you should remember that older 
  52. applications which do not check the auxiliary type may attempt to interpret 
  53. these files incorrectly.
  54.  
  55.